package com.sxz.sbs.module.telephone.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * Created by tian on 2018/1/20 0020.
 */

public class TelBookBean {

    /**
     * managerList : [{"txt_Name":"连振","url_HeadPhoto":"","txt_PositionName":"顾问","txt_Phone":"13603878003","mark":0,"Id":1,"txt_DepartmentName":"车位运营部","companyName":"河南省百年利人企业孵化器有限公司","Department_Id":1}]
     * txt_DepartmentName : 车位运营部
     * Department_Id : 1
     */

    private String txt_DepartmentName;
    private int Department_Id;
    private List<ManagerListBean> managerList;

    public String getTxt_DepartmentName() {
        return txt_DepartmentName;
    }

    public void setTxt_DepartmentName(String txt_DepartmentName) {
        this.txt_DepartmentName = txt_DepartmentName;
    }

    public int getDepartment_Id() {
        return Department_Id;
    }

    public void setDepartment_Id(int Department_Id) {
        this.Department_Id = Department_Id;
    }

    public List<ManagerListBean> getManagerList() {
        return managerList;
    }

    public void setManagerList(List<ManagerListBean> managerList) {
        this.managerList = managerList;
    }

    public static class ManagerListBean implements Parcelable {
        /**
         * txt_Name : 连振
         * url_HeadPhoto :
         * txt_PositionName : 顾问
         * txt_Phone : 13603878003
         * mark : 0
         * Id : 1
         * txt_DepartmentName : 车位运营部
         * companyName : 河南省百年利人企业孵化器有限公司
         * Department_Id : 1
         */

        private String txt_Name;
        private String url_HeadPhoto;
        private String txt_PositionName;
        private String txt_Phone;
        private int mark;
        private int Id;
        private String txt_DepartmentName;
        private String companyName;
        private int Department_Id;

        public String getTxt_Name() {
            return txt_Name;
        }

        public void setTxt_Name(String txt_Name) {
            this.txt_Name = txt_Name;
        }

        public String getUrl_HeadPhoto() {
            return url_HeadPhoto;
        }

        public void setUrl_HeadPhoto(String url_HeadPhoto) {
            this.url_HeadPhoto = url_HeadPhoto;
        }

        public String getTxt_PositionName() {
            return txt_PositionName;
        }

        public void setTxt_PositionName(String txt_PositionName) {
            this.txt_PositionName = txt_PositionName;
        }

        public String getTxt_Phone() {
            return txt_Phone;
        }

        public void setTxt_Phone(String txt_Phone) {
            this.txt_Phone = txt_Phone;
        }

        public int getMark() {
            return mark;
        }

        public void setMark(int mark) {
            this.mark = mark;
        }

        public int getId() {
            return Id;
        }

        public void setId(int Id) {
            this.Id = Id;
        }

        public String getTxt_DepartmentName() {
            return txt_DepartmentName;
        }

        public void setTxt_DepartmentName(String txt_DepartmentName) {
            this.txt_DepartmentName = txt_DepartmentName;
        }

        public String getCompanyName() {
            return companyName;
        }

        public void setCompanyName(String companyName) {
            this.companyName = companyName;
        }

        public int getDepartment_Id() {
            return Department_Id;
        }

        public void setDepartment_Id(int Department_Id) {
            this.Department_Id = Department_Id;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeString(this.txt_Name);
            dest.writeString(this.url_HeadPhoto);
            dest.writeString(this.txt_PositionName);
            dest.writeString(this.txt_Phone);
            dest.writeInt(this.mark);
            dest.writeInt(this.Id);
            dest.writeString(this.txt_DepartmentName);
            dest.writeString(this.companyName);
            dest.writeInt(this.Department_Id);
        }

        public ManagerListBean() {
        }

        protected ManagerListBean(Parcel in) {
            this.txt_Name = in.readString();
            this.url_HeadPhoto = in.readString();
            this.txt_PositionName = in.readString();
            this.txt_Phone = in.readString();
            this.mark = in.readInt();
            this.Id = in.readInt();
            this.txt_DepartmentName = in.readString();
            this.companyName = in.readString();
            this.Department_Id = in.readInt();
        }

        public static final Parcelable.Creator<ManagerListBean> CREATOR = new Parcelable.Creator<ManagerListBean>() {
            @Override
            public ManagerListBean createFromParcel(Parcel source) {
                return new ManagerListBean(source);
            }

            @Override
            public ManagerListBean[] newArray(int size) {
                return new ManagerListBean[size];
            }
        };
    }
}
